<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>div</title>
  <style>
    body {
      width: 100%;
    }

    div>p:nth-child(1) {
      float: right;
    }

    div>p:nth-child(2) {
      float: left;
    }
  </style>
</head>

<body>
  <div>
    <p>
      <span>O(∩_∩)O哈哈~</span>
    </p>
    <p>
      <span>w(ﾟДﾟ)w</span>
    </p>
  </div>

</body>

</html>